<?php

class Admin_IndexController extends Zend_Controller_Action
{
    public function init()
    {
		$this->getHelper('layout')->setLayout('admin');
    }

    public function indexAction()
    {
    	$m = new Admin_Model_TreeNodeMapper();
    	$this->view->root = $m->findRoot(true);
    }
}
?>